package com.zzzzzz.account.reset;

import javax.validation.constraints.Size;

import com.zzzzzz.core.validation.Confirm;

@Confirm(field="password")
public class ChangePasswordForm {
	
	@Size(min=6, max=20)
	private String password;
	
	private String confirmPassword;

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getConfirmPassword() {
		return confirmPassword;
	}

	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

}
